﻿<%@ Page Title="" Language="C#" MasterPageFile="~/giaovien/Manager3.master" AutoEventWireup="true" CodeFile="TrangDanhSachYKien.aspx.cs" Inherits="giaovien_TrangDanhSachYKien" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" Runat="Server">
    <div style="width: 100%; height: auto; margin: 0px auto auto; border:0.5px solid gray; ">
     <div style="background-color:#F1F3F7; height:45px; font-size:17px; color:blue;padding-top:10px;padding-left:10px">
                    Danh sách thư mới
         </div>
          
                <asp:DataList runat="server" ID="dtlYKien" Width="100%" 
            onselectedindexchanged="dtlYKien_SelectedIndexChanged" >                  
                    <ItemTemplate>
                            <table style="margin-top:5px;width:100%">
                                <tr>
                                    <td style="width: 100px;border:0.3px solid gray">
                                        <img src="../images/dialog_question.ico" width="85px" height="98px" />
                                    </td>
                                    <td valign="top" style="width:100%;border:0.3px solid gray;height:100px;">
                                        <div align="left" style="margin: 2px; color: #999; float: left; height: 16px; width: 100%">
                                            <a style="color: #999; font-size: 16px" >
                                            <asp:Label runat="server" ID="lblMaTin" Visible="false" Text='<%#Eval("MaTin") %>'></asp:Label>
                                                <%# Eval("TieuDe") %></a>
                                            <div style="clear: both">
                                            </div>
                                            <div>
                                                <span style="width: 100% ;font-size: 13px" >Người gửi: Phụ huynh của học sinh
                                                    <%# Eval("TenHS") %>
                                                </span>
                                            </div>
                                            <div>
                                                <span style="width: 100% ;font-size: 13px" >Thời gian
                                                    <%# Eval("NgayGui") %>
                                                </span>
                                            </div>
                                            <div >
                                                <span style="color: #999; font-size: 13px;">
                                                    <%# Eval("NoiDungYKien") %>
                                                </span>
                                            </div>
                                            <div style="text-align:right; ">
                                                <span>
                                             <asp:Button runat="server" Width="100px" ID="btnTraLoi" Text="Trả lời" PostBackUrl='<%#"~/giaovien/TrangGuiYKienPhanHoi.aspx?MaTin="+Eval("MaTin") %>'/>
                                                </span>
                                            </div>
                                        </div>
                                    </td>                                          
                                </tr>
                               <%-- <tr>
                                    <td height="1" colspan="3">
                                        <div class="border">
                                            <span></span>
                                        </div>
                                    </td>
                                </tr>--%>
                               
                            </table>
                        </ItemTemplate>
                    </asp:DataList>
               
            
            </div>
            
</asp:Content>

